package vn.buffalocoders.rikos.ui.common;


import java.util.Date;


public class RikoCategory {
	private Integer _id = 0;
	private String _name = "";
	private Integer _bookNum = 0;
	private String _imageName = "";
	private Date _createDate = null;
	
	public RikoCategory(Integer id, String name, Integer bookNum, String createDate){
		this._id = id;
		this._name = name;
		this._bookNum = bookNum;
		this._createDate = Helper.ConvertStrToDate(createDate);			
	}

	public RikoCategory(Integer id, String name, Integer bookNum, String imageName, String createDate){
		this._id = id;
		this._name = name;
		this._bookNum = bookNum;
		this._imageName = imageName;
		this._createDate = Helper.ConvertStrToDate(createDate);			
	}	
	
	public RikoCategory() {
		// TODO Auto-generated constructor stub
	}

	public Integer getID(){
		return this._id;		
	}
	
	public void setID(Integer id){
		_id = id;
	}
	
	public String getName(){
		return this._name;		
	}
	public void setName(String name){
		_name = name;
	}
	
	public Integer getBookNum(){
		return this._bookNum;
	}
	public void setBookNum(Integer booknum){
		_bookNum = booknum;
	}

	public String getImageName() {
		return this._imageName;
	}
	public void setImageName(String imageName) {
		_imageName = imageName;
	}
	
	public Date getCreateDate(){
		return this._createDate;
	}
	
	public void setCreateDate(String createDate){
		_createDate = Helper.ConvertStrToDate(createDate);	
	}
}
